package com.ruantong.dingtalk.ding.callback.dao;

import com.ruantong.dingtalk.ding.callback.model.DingCallback;
import com.ruantong.dingtalk.ding.callback.model.DingCallbackExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DingCallbackMapper {
    long countByExample(DingCallbackExample example);

    int deleteByExample(DingCallbackExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DingCallback record);

    int insertSelective(DingCallback record);

    List<DingCallback> selectByExample(DingCallbackExample example);

    DingCallback selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DingCallback record, @Param("example") DingCallbackExample example);

    int updateByExample(@Param("record") DingCallback record, @Param("example") DingCallbackExample example);

    int updateByPrimaryKeySelective(DingCallback record);

    int updateByPrimaryKey(DingCallback record);
}